package com.wlzg.collectiontool.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

import com.wlzg.collectiontool.R
import com.wlzg.collectiontool.model.bean.Hunjie
import com.wlzg.collectiontool.model.bean.PsGongcheng
import com.wlzg.collectiontool.model.bean.PsXiangmu

internal class GcAdapter :
    BaseQuickAdapter<PsGongcheng?, BaseViewHolder>(
        R.layout.item_gclist

    ) {


    override fun convert(helper: BaseViewHolder, item: PsGongcheng?) {
        helper.setText(R.id.name, item?.gcName)
        val status=if(item?.gcStatus=="1"){"完成"}else {"进行中"}
        helper.setText(R.id.status,status)
        helper.setText(R.id.leader,item?.teamleader)
    }
}